package com.kingyun.gpsinspection.purificationservice.dao.mapper.iam.up;


import com.kingyun.gpsinspection.purificationservice.facade.model.iam.scyx.OverhaulProject;
import com.kingyun.gpsinspection.purificationservice.facade.model.iam.up.ReportProblem;

import java.util.List;

public interface ReportProblemMapper {
    /**
     * 新增操作
     *
     * @param record
     * @return
     */
    int insertSelective(ReportProblem record);

    /**
     * 查询详情操作
     *
     * @param problemId
     * @return
     */
    ReportProblem selectByPrimaryKey(String problemId);

    /**
     * 查询操作
     *
     * @param reportProblem 查询条件对象
     * @return
     */
    List<OverhaulProject> queryList(ReportProblem reportProblem);

    /**
     * 查询总条数
     *
     * @param reportProblem 查询条件对象
     * @return
     */
    Integer queryCount(ReportProblem reportProblem);
}